Skip to content

docs: regenerate the two notebooks with mangled code cells - #62

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/remove-finish-docstring-hack
Jul 30, 2026
Merged

docs: regenerate the two notebooks with mangled code cells#62
Jammy2211 merged 1 commit into
mainfrom
feature/remove-finish-docstring-hack

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

No script in this repo carries the Finished. / Finish. crutch, so this is a regeneration only — but two of its notebooks were broken by the generator bug fixed in PyAutoLabs/PyAutoHands#214.

chapter_2_lens_modeling/tutorial_4_dealing_with_failure.ipynb and simulator/source_complex.ipynb each had a code cell containing a literal # %% and ''' — a SyntaxError for any reader who ran it. Their scripts open a docstring on the line immediately after code, and py2nb never split it into its own markdown cell.

This repo is also the cleanest evidence that the PyAutoHands fix does not churn: regenerating all 41 notebooks changes exactly these 2 files and nothing else, and llms-full.txt / workspace_index.json come out byte-identical.

Merge order

PyAutoLabs/PyAutoHands#214 merges first — this repo invokes ../PyAutoHands/autohands/generate.py from the local checkout.

Part of PyAutoLabs/PyAutoHands#211.

🤖 Generated with Claude Code

https://claude.ai/code/session_013XzXdQMU3KV2tyZaMNPvsM

`chapter_2_lens_modeling/tutorial_4_dealing_with_failure.ipynb` and
`simulator/source_complex.ipynb` each had a code cell containing a literal
`# %%` and `'''` — a SyntaxError for anyone who ran it. Their scripts open a
docstring on the line immediately after code, which the generator failed to
split into its own markdown cell (fixed in PyAutoLabs/PyAutoHands#214).

No script in this repo carries the `Finished.` / `Finish.` crutch, so this is a
regeneration only.

Refs PyAutoLabs/PyAutoHands#211

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013XzXdQMU3KV2tyZaMNPvsM
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jul 30, 2026
@Jammy2211
Jammy2211 merged commit 5af92d9 into main Jul 30, 2026
10 checks passed
@Jammy2211
Jammy2211 deleted the feature/remove-finish-docstring-hack branch July 30, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant